Phase and amplitude detection in wireless energy transfer systems

ABSTRACT

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for detecting characteristics of an input signal. One aspect includes a first finite impulse response (FIR) filter, a second FIR filter, and a controller coupled with the first and second FIR filters. The first FIR filter receives an input signal and a first reference signal. The first FIR filter filters the first reference signal to generate a first sinusoidal signal and mixes the first sinusoidal signal and the input signal to generate a first mixed signal. The second FIR filter receives the input signal and a second reference signal. The second FIR filter filters the second reference signal to generate a second sinusoidal signal and mixes the second sinusoidal signal and the input signal to generate a second mixed signal. The controller determines characteristics of the input signal based on the first and second mixed signals.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to U.S. Provisional Patent Application No. 62/241,194, filed on Oct. 14, 2015, the entire contents of which are incorporated herein by reference.

BACKGROUND

Electronic devices may need to detect the phase of current or voltage signals in circuits of the device or in circuits of other devices within a system. In some applications, an electronic device may need to determine the phase difference between two signals. Existing phase detection circuits, devices, or systems may introduce harmonic distortions, require complex circuitry, or need relatively long computation times.

SUMMARY

In general, the disclosure features phase and amplitude detection circuits and devices. In a first aspect, the disclosure features a phase detection device including an input terminal, a signal generator, a first mixer coupled with the signal generator and the input terminal, a second mixer coupled with the signal generator and the input terminal, and a controller coupled with the first mixer and the second mixer. The input terminal receives an input signal to the phase detection device. The signal generator generates a first reference signal and a second reference signal. The second reference signal is approximately 90 degrees out of phase with the first reference signal. The first mixer mixes the first reference signal and the input signal to generate a first mixed signal. The second mixer mixes the second reference signal and the input signal to generate a second mixed signal. The controller is configured to shift a phase of the first and the second reference signals until a value of the second mixed signal divided by the first mixed signal reaches a threshold value, and determine a phase of the input signal based on a phase shift value, the phase shift value representing an amount that the phase of the first and second reference signals are shifted.

This and other implementations can each optionally include one or more of the following features.

The controller can be configured to subtract the phase shift value from 90 degrees. The controller can be configured to subtract the phase shift value from the arctangent of the quotient of the second mixed signal divided by the first mixed signal. The controller can be configured to provide data indicating the phase of the input signal to an impedance matching network. The controller can be one of: a microcontroller, a computer processor, a field programmable logic array (FPGA), or an application specific integrated circuit (ASIC).

In some implementations, the phase detection device can include a first filter coupled between the first mixer and the controller and a second filter coupled between the second mixer and the controller. The first filter can filter the first mixed signal such that the first mixed signal is a direct current (DC) signal, and the a second filter can filter the second mixed signal such that the second mixed signal is a DC signal.

In some implementations, the phase detection device can include an impedance matching network coupled with the controller. The impedance matching network can be configured to receive data indicating the phase of the input signal from the controller and adjust an impedance value of a resonator in accordance with the received data.

In some implementations, the input terminal of the phase detection device is a first input terminal that receives a first input signal. The phase detection device can include a second input terminal that receives a second input signal and a multiplexer. The multiplexer can include a first input coupled with the first input terminal, a second input coupled with the second input terminal, and an output coupled with the first mixer and the second mixer. The controller can be configured to select the second input signal from the multiplexer, such that the first mixer mixes the first reference signal and the second input signal to generate a third mixed signal, and the second mixer mixes the second reference signal and the second input signal to generate a fourth mixed signal; shift a phase of the first reference signal and a phase of the second reference signal until a value of the fourth mixed signal divided by the third mixed signal reaches the threshold value; determine a phase of the second input signal based on a second phase shift value, the second phase shift value representing an amount that the phase of the first reference signal and the phase of the second reference signal are shifted; and determine a phase difference between the first input signal and the second input signal.

In some implementations, the input terminal of the phase detection device is a first input terminal that receives a first input signal. The phase detection device can include a second input terminal that receives a second input signal, a third mixer coupled with the signal generator and the second input terminal, and a fourth mixer coupled with the signal generator and the second input terminal. The third mixer mixes the first reference signal and the second input signal and to thereby generate a third mixed signal. The fourth mixer mixes the second reference signal and the second input signal and to thereby generate a fourth mixed signal. The controller is configured to shift a phase of the first reference signal and a phase of the second reference signal until a value of the fourth mixed signal divided by the third mixed signal reaches the threshold value, determine a phase of the second input signal based on a second phase shift value, the second phase shift value representing an amount that the phase of the first reference signal and the phase of the second reference signal are shifted, and determine a phase difference between the input signal and the second input signal.

In a second aspect, the disclosure features a phase detection device including a first input terminal, second input terminal, a signal generator, a first mixer coupled with the signal generator and the first input terminal, a second mixer coupled with the signal generator and the second input terminal, and a controller coupled with the first mixer, the second mixer, and the signal generator. The first input terminal receives a first input signal to the phase detection device, and the second input terminal receives a second input signal to the phase detection device. The signal generator generates a sinusoidal reference signal. The first mixer mixes the reference signal and the first input signal to generate a first mixed signal. The second mixer mixes the reference signal and the second input signal to generate a second mixed signal. The controller is configured to shift a phase of the reference signal; detect a zero crossing of the first mixed signal and, in response to detecting the zero crossing of the first mixed signal, store first data representing the phase of the reference signal; detect a zero crossing of the second mixed signal and, in response to detecting the zero crossing of the second mixed signal, store second data representing the phase of the reference signal; and determine a phase difference between the first input signal and the second input signal by based on a difference between the first data and the second data.

This and other implementations can each optionally include one or more of the following features.

In some implementations, the phase detection device can include a first filter coupled between the first mixer and the controller and a second filter coupled between the second mixer and the controller. The first filter can filter the first mixed signal such that the first mixed signal is a direct current (DC) signal, and the a second filter can filter the second mixed signal such that the second mixed signal is a DC signal.

In some implementations, the phase detection device includes a first comparator coupled with first mixer and the controller, and a second comparator coupled with the second mixer and the controller. And, detecting the zero crossing of the first mixed signal includes detecting an edge of an output signal of the first comparator, and detecting the zero crossing of the second mixed signal includes detecting an edge of an output signal of the second comparator.

The reference signal can be phase-adjustable in a fixed number of steps. The first data and the second data can represent first and second steps of the sinusoidal reference signal. Determining the phase difference between the first input signal and the second input signal can include multiplying the difference between the first data and the second data by a step size associated with steps of the sinusoidal reference signal.

The controller can be configured to provide data indicating the phase difference between the first input signal and the second input signal to an impedance matching network. The controller can be one of: a microcontroller, a computer processor, a field programmable logic array (FPGA), or an application specific integrated circuit (ASIC).

In some implementations, the phase detection device can include an impedance matching network coupled with the controller. The impedance matching network can be configured to receive data indicating the phase difference between the first input signal and the second input signal from the controller and adjust an impedance value of a resonator in accordance with the received data.

In a third aspect, the disclosure features an electronic device including a first finite impulse response (FIR) filter, a second FIR filter, and a controller coupled with the first FIR filter and the second FIR filter. The first FIR filter receives an input signal and a first reference signal. The first FIR filter filters the first reference signal to generate a first sinusoidal signal and mixes the first sinusoidal signal and the input signal to generate a first mixed signal. The second FIR filter receives the input signal and a second reference signal, wherein the second FIR filter filters the second reference signal to generate a second sinusoidal signal and mixes the second sinusoidal signal and the input signal to generate a second mixed signal. The controller is configured to determine a characteristic of the input signal based on the first mixed signal and the second mixed signal.

This and other implementations can each optionally include one or more of the following features.

In some implementations, the characteristic of the input signal can be a phase or an amplitude of the input signal. The characteristic of the input signal can include both a phase and an amplitude of the input signal. The first and second reference signals can be square waves. The square waves can be time-sampled square waves. A sampling rate of the square waves can be twelve times a fundamental frequency of the square wave. The first reference signal can be phase shifted with respect to the second reference signal by a predetermined number of samples.

In some implementations, each of the first and the second FIR filter can include a plurality of filter zeros, and the filter zeros can be selected to cancel harmonic frequencies of the first or second reference signal. The zeros of each of the first and the second FIR filter can be selected to cancel third, fifth, seventh, and ninth harmonics of the first or second reference signal.

In some implementations, each of the first and the second FIR filter include a plurality of filter taps. Each filter tap can include a delay circuit, a switch, and a resistor electrically connected to a terminal of the switch, where one of the first or the second reference signal is applied to an input of the delay circuit, the switch is controlled by an output of the delay circuit, and the input signal passes through the switch. Values for the resistors of the plurality of filter taps for each of the first and second FIR filters can represent filter zeros that are selected to cancel harmonic frequencies of the first or second reference signal. Each of the first and the second FIR filters can include five filter taps.

In some implementations, the electronic device includes a first filter coupled with the first FIR filter and the controller and a second filter coupled with the second FIR filter and the controller. The first filter can filter the first mixed signal such that the first mixed signal is a direct current (DC) signal, and the second filter can filter the second mixed signal such that the second mixed signal is a DC signal.

In some implementations, determining the phase of the input signal by the controller can include determining an arctangent of a quotient of the second mixed signal divided by the first mixed signal. The controller can be configured to provide data indicating the phase of the input signal to an impedance matching network. The controller can be one of: a microcontroller, a computer processor, a field programmable logic array (FPGA), or an application specific integrated circuit (ASIC).

In some implementations, the phase detection device can include an impedance matching network coupled with the controller. The impedance matching network can be configured to receive data indicating the phase of the input signal from the controller and adjust an impedance value of a resonator in accordance with the received data.

In some implementations, the electronic device includes a third FIR filter and a fourth FIR filter. The third FIR filter receives a second input signal and the first reference signal. The third FIR filter filters the first reference signal to generate a first sinusoidal signal and mixes the first sinusoidal signal and the second input signal to generate a third mixed signal. The fourth FIR filter receives the second input signal and the second reference signal. The fourth FIR filter filters the second reference signal to generate a second sinusoidal signal and mixes the second sinusoidal signal and the second input signal to generate a fourth mixed signal. The controller is coupled with the third FIR filter and the fourth FIR filter and configured to determine a phase of the second input signal based on the third mixed signal and the fourth mixed signal, and determine a phase difference between the input signal and the second input signal.

In a fourth aspect, the disclosure features a finite impulse response (FIR) filter including a plurality of filter taps, an operational amplifier, and a feedback path. Each filter tap includes a delay circuit, a switch, and a resistor. The delay circuit includes an input terminal to receive a square wave and an output terminal to output a delayed version of the square wave. The switch includes an input terminal, an output terminal, and a control terminal. The control terminal of the switch is electrically connected to the output terminal of the delay circuit to receive the delayed version of the square wave at the control terminal, and the input terminal of the switch is electrically connected to a common input signal line for the plurality of filter taps. The resistor is electrically connected to one of the input terminal or the output terminal of the switch. An output terminal of each of the plurality of filter taps is electrically connected to an input terminal of the operational amplifier. The feedback path electrically connects an output terminal of the operational amplifier to the input terminal of the operational amplifier.

This and other implementations can each optionally include one or more of the following features.

In some implementations, values for the resistors of the plurality of filter taps represent filter zeros that are selected to cancel harmonic frequencies of the square wave. The filter zeros can be selected to cancel the third, fifth, seventh, ninth harmonics of the square wave. An output signal of the operation amplifier can be a mixed signal comprising an input signal mixed with a sinusoidal signal at a fundamental frequency of the square wave.

In some implementations, an input signal can be a direct current (DC) signal and the output signal of the operational amplifier is the sinusoidal signal at a fundamental frequency of the square wave. Each delay circuit of the plurality of filter taps can include a flip-flop.

Particular implementations of the subject matter described in this specification can be implemented so as to realize one or more of the following advantages. Implementations may accurately detect phase, amplitude, or both of input signals that have relatively high harmonic content. Some implementations may correct for phase errors between two reference signals used to detect a phase of an input signal. Some implementations may generate sinusoidal reference signals having minimal harmonic content (e.g., “clean” reference signals). Some implementations may generate a pair of reference signals having minimal phase error between the signals by using phase shifted digital signals. Some implementations may accommodate a input signals having a large amplitude range.

Embodiments of the phase detection devices can also include any of the other features disclosed herein, including features disclosed in combination with different embodiments, in any combination as appropriate.

The details of one or more implementations of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will be apparent from the description, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of an example of a wireless power transfer system.

FIGS. 2A and 2B show block diagrams of an example wireless power transfer system including an impedance matching network.

FIG. 3 depicts an example of an implementation of a phase detection device in accordance with implementations of the present disclosure.

FIG. 4 shows a graph depicting an operation of the phase detection device.

FIGS. 5A and 5B depict examples of implementations of multi-input phase detection devices.

FIG. 6 depicts an example of an implementation of a phase detection device in accordance with implementations of the present disclosure.

FIG. 7 depicts another example of a phase detection device in accordance with implementations of the present disclosure.

FIGS. 8 and 9 depict examples of sinusoidal wave generators/signal mixers (SWG/SM) in accordance with implementations of the present disclosure.

Like reference numbers and designations in the various drawings indicate like elements.

DETAILED DESCRIPTION

Wireless energy transfer systems described herein can be implemented using a wide variety of resonators and resonant objects. As those skilled in the art will recognize, important considerations for resonator-based power transfer include resonator quality factor and resonator coupling. Extensive discussion of such issues, e.g., coupled mode theory (CMT), coupling coefficients and factors, quality factors (also referred to as Q-factors), and impedance matching is provided, for example, in U.S. patent application Ser. No. 13/428,142, published on Jul. 19, 2012 as US 2012/0184338, in U.S. patent application Ser. No. 13/567,893, published on Feb. 7, 2013 as US 2013/0033118, and in U.S. patent application Ser. No. 14/059,094, published on Apr. 24, 2014 as US 2014/0111019. The entire contents of each of these applications are incorporated by reference herein.

Power transfer systems may rely on electronic circuits such as rectifiers, AC (Alternating Current) to DC (Direct Current) converters, impedance matching circuits, and other power electronics to condition, monitor, maintain, and/or modify the characteristics of the voltage and/or current used to provide power to electronic devices. Power electronics can provide power to a load with dynamic input impedance characteristics. In some cases, in order to enable efficient power transfer, a dynamic impedance matching network is provided to match varying load impendences to that of the power source.

In some applications such as wireless power transfer, load impedances for a wireless power supply device may vary dynamically. In such applications, impedance matching between a load, such as a resonator coil, and a power supply of the device may be required to prevent unnecessary energy losses and excess heat. For example, the impedance associated with a resonator coil may be dynamic, in which case, a dynamic impedance matching network can be provided to match the varying power supply impedance (e.g., a device resonator) to that of the device. In the case of a wirelessly powered device, power supply impedances (e.g., a device resonator coil) may be highly variable. Therefore, an impedance matching network can be supplied between the device resonator coil and the power source of the device (e.g., battery or battery charging circuitry) to promote efficient transfer of power. Accordingly, power transfer systems transferring and/or receiving power via highly resonant wireless energy transfer, for example, may be required to configure or modify impedance matching networks to maintain efficient power transfer. The power electronics used in existing devices may not be capable of accurately detecting or measuring impedance mismatches or of rapidly accounting for impedance variations.

In the devices disclosed herein, power transfer and receive circuits can include phase and/or amplitude detection circuits or devices. Phase detection circuits can measure the phase of voltage or current signals within a power source or device to determine a mismatch between a power supply impedance and a load impedance, and to configure elements of an impedance matching network to minimize or eliminate the impedance mismatch. For example, a phase detection circuit can detect the phase of a power supply current and that of a load current. A difference in phase between the phase of a power supply current and that of a load current indicates an impedance mismatch between the power supply and the load. The phase difference can be used by an electronic device to configure an impedance matching network to minimize the impedance mismatch and, thereby, maximize power transfer efficiency.

While the phase detection circuits, methods, and systems disclosed herein are discussed in the context of a wireless power transfer system, it should be appreciated that they may be useful with other electronic devices as well. For example, phase detection circuits, devices, methods, and systems disclosed herein can be used in power factor correction devices, portable network analyzers, communication systems, and other electronic devices.

FIG. 1 shows a block diagram of an example wireless power transfer system 100. The system 100 includes a wireless power source 102 and a wirelessly powered or wirelessly charged device 104. Wirelessly powered or wirelessly charged devices 104 can include, for example, electronic devices such as laptops, smartphones, tablets, and other mobile electronic devices that are commonly placed on desktops, tabletops, bar tops, and other types of surfaces. The device 104 includes a device resonator 108D, device power and control circuitry 110, and a wirelessly powered or wirelessly charged electronic device 112, to which either DC or AC or both AC and DC power is transferred. The wireless power source 102 includes source power and control circuitry 106 and a source resonator 108S. The electronic device 112 or devices that receive power from the device resonator 108D and device power and control circuitry 110 can be, for example, an electronic device such as a laptop, smartphone, and other mobile electronic devices. The device resonator 108D and device circuitry 110 delivers power to the device/devices 112 that can be used to recharge the battery of the device/devices, power the device/devices directly, or both when in the vicinity of the source resonator 108S.

The power source 102 can be powered from a number of DC or AC voltage, current or power sources including, for example, a USB (Universal Serial Bus) port of a computer. In addition, the source 102 can be powered from the electric grid, from a wall plug, from a battery, from a power supply, from an engine, from a solar cell, from a generator, or from another source resonator. The source power and control circuitry 106 can include circuits and components to isolate the source electronics from the power supply, so that any reflected power or signals are not coupled out through the source input terminals.

The source power and control circuitry 106 can drive the source resonator 108S with alternating current, such as with a frequency greater than 10 kHz and less than 100 MHz (e.g., 6.78 MHz). The source power and control circuitry 106 can include, for example, impedance matching circuitry, a DC-to-DC converter, an AC-to-DC converter, or both an AC-to-DC converter and a DC-to-DC converter, an oscillator, and a power amplifier.

The device power and control circuitry 110 can be designed to transform alternating current power from the device resonator 108D to stable direct current power suitable for powering or charging one or more devices 112. The device power and control circuitry 110 can be designed to transform an alternating current power at one frequency (e.g., 6.78 MHz) from the device resonator to alternating current power at a different frequency suitable for powering or charging one or more devices 112. The power and control circuitry can include, for example, impedance matching circuitry, rectification circuitry, voltage limiting circuitry, current limiting circuitry, AC-to-DC converter circuitry, DC-to-DC converter circuitry, DC-to-AC converter circuitry, AC-to-AC converter circuitry, and battery charge control circuitry.

The power source 102 and the device 104 can have tuning capabilities, for example, dynamic impedance matching circuits, that allow adjustment of operating points to compensate for changing environmental conditions, perturbations, and loading conditions that can affect the operation of the source and device resonators and the efficiency of the energy transfer. The tuning capability can also be used to multiplex power delivery to multiple devices, from multiple sources, to multiple systems, to multiple repeaters or relays, and the like. The tuning capability can be controlled automatically, and may be performed continuously, periodically, intermittently or at scheduled times or intervals. In some implementations, manual input can be used to configure a control algorithm for tuning the impedance matching circuits.

The power source 102 and the device 104 resonators may be separated by many meters or they may be very close to each other or they may be separated by any distance in between. The source and device resonators 108S, 108D may be offset from each other laterally or axially. The source and device resonators 108S, 108D may be directly aligned (no lateral offset). The source and device resonators 108S, 108D may be oriented so that the surface areas enclosed by their inductive elements are approximately parallel to each other. The source and device resonators 108S, 108D may be oriented so that the surface areas enclosed by their inductive elements are approximately perpendicular to each other, or they may be oriented for any relative angle (0 to 360 degrees) between them. Such variations in the physical arrangement between the source and device resonators 108S, 108D may affect power coupling between the resonators 108S, 108D, and thereby, alter impedances exhibited by the resonators 108S, 108D to the source power and control circuitry 106 or device power and control circuitry 110, respectively.

FIGS. 2A and 2B show block diagrams of an example wireless power transfer system 200 including an impedance matching network (IMN) 204 and IMN control circuitry 208. The system 200 can, for example, be implemented as part of either the wireless power source 102 or the wirelessly powered or charged device 104 of FIG. 1. The system 200 includes a power source 202, an IMN 204, a load 206, and IMN control circuitry 208. The power source 202 can be the source power supply and control circuitry 106 of the wireless power source 102. The power source 202 can be the device resonator 108D of the device 104. The load 206 can be, for example, the source resonator 108S of the wireless power source 102. The load 206 can be the electronic device 112 powered by or a battery of the electronic device 112 charged by the device resonator 108D. The impedance exhibited by either the load 206 or the power source 202 may be dynamic and vary based on, for example, a physical position of a device 104 (e.g., a device resonator 108D) in relation to a wireless power source 102 (e.g., a source resonator 108S).

The impedance-matching network 204 can be designed to maximize the power delivered between power source 202 and the load 206 at a desired frequency (e.g., 6.78 MHz). The impedance matching components 216, 218, 220 in the IMN 204 can be chosen and connected so as to preserve a high-Q value of the resonator. Depending on the operating conditions, the components 216, 218, 220 in the IMN 204 can be automatically tuned to control the power delivered from the power source 202 to the load 206, for example, to maximize efficient transfer of power from a power source 202 to a source resonator 210.

The IMN control circuitry 208 monitors impedance differences between the source 202 and the load 206 and provides control signals to the IMN 204 to tune the IMN 204 or components thereof. The IMN control circuitry 208 can monitor voltage or current at various circuit locations within a power transfer system 100 to detect impedance differences. The IMN control circuitry 208 can include phase detection circuitry 209 to detect and compare phases of the monitored voltage or current within the power transfer system 100. For example, a phase difference between current at two locations within the power transfer system 100 may indicate an impedance mismatch. The IMN control circuitry 208 can tune the IMN 204 in response to detecting the phase difference.

For example, referring to FIG. 2B, the IMN control circuitry 208 can receive power, voltage, or current measurements from sensors 212 and 214. Sensors 212 and 214 can be appropriate voltage or current sensors such as, for example, Rogowski coils. For example, sensor 212 can measure an alternating current (I_(S)) provided from the power source 202, and sensor 214 can measure an alternating current (I_(L)) provided to a resonator 210. The phase detection circuitry 209 detects respective phases of the currents I_(S) and I_(L). The phase detection circuitry 209 can send the detected phases of currents I_(S) and I_(L) to the IMN control circuitry 208 to tune the IMN 204 or components thereof (e.g., components 216, 218, 220) to correct the impedance mismatch.

The IMN 204 components 216, 218, 220 can include, for example, a capacitor or networks of capacitors, an inductor or networks of inductors, or various combinations of capacitors, inductors, diodes, switches, and resistors. The components of the impedance matching network can be adjustable and variable and can be controlled to affect the efficiency and operating point of the system. The impedance matching can be performed by controlling the connection point of the resonator, adjusting the permeability of a magnetic material, controlling a bias field, adjusting the frequency of excitation, and the like. The impedance matching can use or include any number or combination of varactors, varactor arrays, switched elements, capacitor banks, switched and tunable elements, reverse bias diodes, air gap capacitors, compression capacitors, barium zirconium titanate (BZT) electrically tuned capacitors, microelectromechanical systems (MEMS)-tunable capacitors, voltage variable dielectrics, transformer coupled tuning circuits, and the like. The variable components can be mechanically tuned, thermally tuned, electrically tuned, piezo-electrically tuned, and the like. Elements of the impedance matching can be silicon devices, gallium nitride devices, silicon carbide devices, and the like. The elements can be chosen to withstand high currents, high voltages, high powers, or any combination of current, voltage and power. The elements can be chosen to be high-Q elements.

FIG. 3 depicts an example of an implementation of a phase detection device 300 that can be included in a power transfer system to detect and monitor phase angles of a voltage or current input signal. The phase detection device 300 is a single input (e.g., single channel) phase detector. That is, the phase detection device 300 measures a phase of an input signal provided on one input channel. The phase detection device 300 includes a signal generator 302, signal mixers 304, filters 306, and a controller 308. The controller 308 can be, for example, a microcontroller, a computer processor, a field programmable logic array (FPGA), or an application specific integrated circuit (ASIC). The controller 308 can include or be coupled to a computer readable storage device such as, for example, random access memory, flash memory, or other appropriate memory device.

During operation of the phase detection device 300, the signal generator 302 generates reference signals 1 and 2. Reference signals 1 and 2 are sinusoidal signals each having a frequency equal to that of an input signal (e.g., 6.78 MHz). Ideally, reference signals 1 and 2 are ninety degrees out of phase with each other. For example, reference signal 1 may be a sine signal represented by A*sin(ωt) and reference signal 2 may be a cosine signal represented by A*cos(ωt). However, often the reference signals are not exactly ninety degrees out of phase, and the signals include some phase error (θ) (e.g., fractions of a degree to multiple degrees (e.g. 0.1° or less to 10° or more). Thus, reference signals 1 and 2 can be more generally represented by A*sin(ωt) and A*cos(ωt+θ), respectively. In some examples, the phase detection device 300 can correct for any phase error (θ) between the reference signals, thereby reducing the precision required in generating the reference signals to obtain accurate phase measurements.

The input signal may be a signal representing a measured current or voltage at a location within a power transfer system. The input signal may be, for example, a voltage signal representing a measured current or voltage at a location within a power transfer system, and can be represented by A_(IN)*sin(ωt+φ), where φ is the phase of the input signal relative to the reference signals. For example, the input signal can be the output of a Rogowski coil positioned within the circuitry of a power transfer system to measure a current signal.

The signal mixers 304 are coupled with the signal generator 302 so as to receive one of the reference signals as one input and the input signal as another input. The mixers 304 mix (e.g., perform time-domain multiplication) a respective reference signal with the input signal and output mixed signal 1 and 2. Thus, mixed signal 1 can be represented by:

${X = {{A_{IN}*{\sin\left( {{\omega\; t} + \varphi} \right)}*A*{\sin\left( {\omega\; t} \right)}} = {{\frac{{AA}_{IN}}{2}*{\cos(\varphi)}} - {\frac{{AA}_{IN}}{2}*{\cos\left( {{2\omega\; t} + \varphi} \right)}}}}},$ and mixed signal 2 can be represented by:

$Y = {{A_{IN}*{\sin\left( {{\omega\; t} + \varphi} \right)}*A*{\cos\left( {{\omega\; t} + \theta} \right)}} = {{\frac{{AA}_{IN}}{2}*{\sin\left( {\varphi - \theta} \right)}} + {\frac{{AA}_{IN}}{2}*{{\sin\left( {{2\omega\; t} + \varphi + \theta} \right)}.}}}}$

Filters 306 can be low-pass filters designed to filter, for example, the second harmonic from the first and the second mixed signal that is generated by the mixers. Accordingly, the filters may remove the second order harmonics generated from the signal mixing process as well as any higher order harmonics that were present in either reference signals or the input signal. After filtering, mixed signal 1 can be represented by:

${X = {\frac{{AA}_{IN}}{2}*{\cos(\varphi)}}},$ and mixed signal 2 can be represented by:

$Y = {\frac{{AA}_{IN}}{2}*{{\sin\left( {\varphi - \theta} \right)}.}}$

The controller 308 receives the mixed signals X and Y, determines the phase of the input signal, and outputs the phase of the input signal to, for example, IMN control circuitry. Without a phase error (θ) between the reference signals, the phase of the input signal (φ) can be calculated by:

$\varphi = {{\tan^{- 1}\left( \frac{Y}{X} \right)} = {{\tan^{- 1}\left( \frac{\frac{{AA}_{IN}}{2}*{\sin(\varphi)}}{\frac{{AA}_{IN}}{2}*{\cos(\varphi)}} \right)}.}}$ With a phase error (θ) between the reference signals, the calculated effective phase of the input signal (φ_(eff)) can be represented by:

$\varphi_{eff} = {{\tan^{- 1}\left( \frac{Y}{X} \right)} = {{\tan^{- 1}\left( \frac{\frac{{AA}_{IN}}{2}*{\sin\left( {\varphi - \theta} \right)}}{\frac{{AA}_{IN}}{2}*{\cos(\varphi)}} \right)}.}}$

Thus, the phase error (θ) between the reference signals can cause variations in the ratio of the mixed signals X and Y, and consequently, errors in calculating the phase (φ) of the input signal. For example, FIG. 4 shows a graph depicting the tangent function of the phase (φ) of the input signal:

${\tan(\varphi)} = {\left( \frac{Y}{X} \right).}$ However, the x- and y-axes are labeled as

${\left( \frac{Y}{X} \right)\mspace{14mu}{and}\mspace{14mu}{\tan^{- 1}\left( \frac{Y}{X} \right)}},$ respectively, to correspond with the operations of the controller 308. Any phase error (θ) between the reference signals causes error 402 in the ratio of the mixed signals X and Y. Although an actual phase (φ) of the input signal may be, for example, 15° a phase error (θ) between the reference signals of, for example, ±10° will cause variation 402 in the ratio

$\left( \frac{Y}{X} \right)$ or the mixed signals A and Y. Without accounting for the error, calculations of the effective phase (φ_(eff)) of the input signal from the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals may result in a value for the effective phase (φ_(eff)) falling within a wide error range 404 (e.g., approximately 5.1° to 23.6°) related to the phase error (θ) between the reference signals.

To minimize the effect of any phase error (θ) between the reference signals, the controller 308 shifts the phases of the reference signals until the ratio

$\left( \frac{Y}{X} \right)$ or the mixed signals falls within a predetermined region 406 of the tangent function curve. For instance, near the asymptotes of the tangent function, any variation 408 in the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals caused by the phase error (θ) between the reference signals will have minimal effects on the calculated effective phase (φ_(eff)) 410 of the input signal. A more accurate calculation of the actual phase (φ) of the input signal can be determined by subtracting the amount the reference signals are shifted from the effective phase (φ_(eff)) as calculated after the shift.

In more detail, the controller 308 monitors the values of mixed signals X and Y while shifting (e.g., delaying) both of the reference signals by an equal amount (Δφ_(ref)). For example, the controller 308 can send a control signal to the signal generator 302 (or to phase shifting circuitry (not shown)) to create equivalent phase shifts (Δφ_(ref)) in reference signal 1 and reference signal 2. The controller 308 can stop shifting the phase of the reference signals when it determines that the phase shifts (Δφ_(ref)) of the reference signals is sufficient to place the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals within the desired region 406 of the tangent curve. For example, the controller 308 can monitor the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals and stop phase shifting the reference signals when the ratio

$\left( \frac{Y}{X} \right)$ meets or exceeds a threshold value. For example, the controller 308 can compare a magnitude of the ratio

$\left( \frac{Y}{X} \right)$ to a threshold value.

In some implementations, the threshold can be a local maximum value of the ratio

$\left( \frac{Y}{X} \right).$ For example, the controller 308 can store at least one prior calculated value of the ratio

$\left( \frac{Y}{X} \right)$ while shifting the reference signals and compare a subsequently calculated value to the prior value. When a subsequent ratio value is less than a prior calculated value, the controller 308 can use the prior calculated value as the local maximum value and its corresponding phase shift of the reference signals as the Δφ_(ref) for calculating the phase of the input signal.

Once the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals meets or exceeds the threshold value, the controller 308 can calculate the phase (φ) of the input signal based on an amount by which the phase of the reference signals was shifted (Δφ_(ref)) to achieve the threshold value for the ratio

$\left( \frac{Y}{X} \right)$ of the mixed signals. For example, the phase (φ) of the input signal can be calculated by subtracting the amount of phase shift in the reference signals (Δφ_(ref)) from the effective phase (φ_(eff)) of the input signal calculated after the phase shift, for example, as represented by the equation below:

$\varphi = {{\varphi_{{eff},{{after}\mspace{14mu}{shift}}} - {\Delta\varphi}_{ref}} = {{\tan^{- 1}\left( \frac{Y}{X} \right)}_{{after}\mspace{14mu}{shift}} - {{\Delta\varphi}_{ref}.}}}$

In some implementations, the phase (φ) of the input signal can be approximated by subtracting the amount by which the reference signals are phase shifted (Δφ_(ref)) from 90°, as represented by the equation below, for example: φ_(approx)=90°−Δφ_(ref).

In some implementations, the controller 308 can send data indicating the calculated phase of the input signal to control circuitry for an IMN (e.g., IMN control circuitry 208 of FIGS. 2A and 2B). In some implementations, controller 308 can serve as both the controller for the phase detection circuitry and as a controller for an IMN. In other words, controller 308 can use the calculated phase of the input signal to generate control signals to tune an IMN or elements thereof.

FIGS. 5A and 5B depict examples of implementations of multi-input phase detection devices 500 and 550, respectively, that can be included in a power transfer system to detect and monitor phase angles of voltage or current input signals. More specifically, the multi-input (e.g., multi-channel) phase detection devices 500 and 550 can measure phases of multiple input signals provided on multiple different input channels, or phase differences between various input signals provided on the multiple input channels.

Referring first to FIG. 5A, the phase detection device 500 is similar to that shown in FIG. 3, however, phase detection device 500 includes a multiplexer 502 to alternately monitor multiple input signals. In the example shown, the multiplexer 502 receives two input signals (input signal 1 and input signal 2). The output of the multiplexer is coupled to both of the mixers 304. The controller 308 is coupled with a controlling input terminal (e.g., a signal selection input terminal) of the multiplexer 502.

In the phase detection device 500, the controller 308 can determine a difference in phase between the input signals. For example, the controller 308 can determine the phase of both input signal 1 (φ₁) and input signal 2 (φ₂) using the process described above in reference to FIGS. 3 and 4 for each of the input signals. The controller 308 can then calculate the phase difference between the input signals (φ_(diff)) by finding the difference between the phases of the respective input signals, as represented in the equation φ_(diff)=φ₂−φ₁, for example.

More specifically, in some implementations, the controller 308 can select one of the input signals from the multiplexer 502, for example, input signal 1. The selected input signal is mixed with reference signal 1 and reference signal 2 by the mixers 304 to generate a first set of mixed signals (e.g., X₁ and Y₁). As described above, the controller 308 can monitor the ratio of the first set of mixed signals while shifting the phase of the reference signals until the ratio of the mixed signals meets or exceeds the threshold value. As described above, the controller 308 can then determine the phase of input signal 1 (φ₁) by subtracting the value of the reference signal phase shift either from 90°, for an approximate value, or from the arctangent of the ratio of the mixed signals. The controller 308 stores the phase of input signal 1 (φ₁) and proceeds to determine the phase of input signal 2 (φ₂) in a similar manner. The controller 308 can then calculate the phase difference between the input signals (φ_(diff)) by subtracting the phase of one input signal from that of the other. This process can be performed for any number of input signals to obtain phase values for each input signal, and the controller 308 can compare the phases of any one input signal to other input signals as desired or required by a particular system in which the phase detection device 500 is implemented.

In some implementations, the controller 308 can alternately select between the input signals while performing the phase shift of the reference signals and monitoring the ratios of mixed signals generated from each of the respective input signals. For example, the controller 308 can select one of the input signals from the multiplexer 502, for example, input signal 1. As before, the selected input signal is mixed with reference signal 1 and reference signal 2 by the mixers 304 to generate a second set of mixed signals (e.g., X1 and Y1). The controller 308 can determine the ratio of the first set of mixed signals and store the value. The controller 308 can select a different input signal from the multiplexer 502, for example, input signal 2. Once selected, input signal 2 is mixed with reference signal 1 and reference signal 2 by the mixers 304 to generate a second set of mixed signals (e.g., X2 and Y2). The controller 308 can determine the ratio of the second set of mixed signals and store the value. These steps can be repeated for each input signal to the multiplexer 502.

Once a ratio of mixed signals has been determined and stored for each of the input signals (e.g., input signals 1 and 2), the controller 308 can shift the phase of the reference signals by an incremental value (e.g., 2°, 1°, 0.1°, etc.). The controller 308 repeats the above steps of selecting through each of the input signals to the multiplexer 502 and calculating a ratio of mixed signals associated with each input signal. For each input signal, the controller 308 determines whether the ratio of mixed signals at each incremental phase shift of the reference signals meets or exceeds the threshold value. When the ratio of mixed signals for a particular one of the input signals meets or exceeds the threshold value, the controller 308 can calculate the phase of the particular input signal using the corresponding cumulative phase shift in the reference signals. For example, if the ratio of the mixed signals associated with input signal 1 reach the threshold value during the fifth incremental phase shift of the reference signals, the cumulative phase shift corresponding to input signal 1 would be five times the incremental phase shift value. In some implementations, once a phase is calculated for a given input signal the controller may skip over (not select) that input signal for each subsequent iteration of the phase calculation process.

Once the phase of each input signal has been calculated, the controller 308 can calculate the phase difference between the input signals (φ_(diff)) by subtracting the phase of one input signal from that of the other. Furthermore, this process can be performed for any number of input signals to obtain phase values for each input signal, and the controller 308 can compare the phases of any one input signal to other input signals as desired or required by a particular system in which the phase detection device 500 is implemented.

FIG. 5B depicts another implementation of a multi-input phase detection device 550. The phase detection device 550 includes separate sets 552 of mixers 304 for each input signal (e.g., input signal 1 and input signal 2). Each mixer 304 in each set 552 is coupled to the signal generator 302 to receive one of the reference signals as an input, and both mixers 304 in each set 552 receive a respective one of the inputs signals as a second mixer input.

For example, the set 552 of mixers 304 associated with input signal 1 mix (e.g., perform time-domain multiplication) a respective reference signal with input signal 1 and output a first set of mixed signals X₁ and Y₁. Likewise, the set 552 of mixers 304 associated with input signal 2 mix (e.g., perform time-domain multiplication) a respective reference signal with input signal 2 and output a second set of mixed signals X₂ and Y₂.

The controller 308 receives the mixed signals associated with each of the input signals and determines the phase of each input signal. For example, the controller 308 can concurrently monitor the set of mixed signals associated with each of multiple input signals while shifting the phase of the reference signals. The controller 308 can detect when a ratio of each set of mixed signals meets or exceeds the threshold value, and, in response, determine a phase for the input signal corresponding to each set of mixed signals. For example, when the controller 308 determines that the ratio of mixed signals X₁ and Y₁ associated with input signal 1 meet or exceeds the threshold value, the controller 308 can use the phase shift value corresponding to the amount by which the reference signals were shifted when the ratio of signals X₁ and Y₁ met or exceed the threshold value to determine the phase of input signal 1. The controller 308 can continue shifting the phase of the reference signals and monitoring the ratio of mixed signals associated with each input signal until the phase for each input signal has been determined.

Once the phase of each input signal has been calculated, the controller 308 can calculate the phase difference between the input signals (φ_(diff)) by subtracting the phase of one input signal from that of the other. Furthermore, this process can be performed for multiple input signals to obtain phase values for each input signal, with a corresponding number of mixer sets 552. Moreover, the controller 308 can compare the phases of any one input signal to other input signals as desired or required by a particular system in which the phase detection device 550 is implemented.

In some implementations, the controller 308 in phase detection devices 500 or 550 can send data indicating the calculated phase difference between two of the multiple input signals to control circuitry for an IMN (e.g., IMN control circuitry 208 of FIGS. 2A and 2B). In some implementations, controller 308 can serve as both the controller for the phase detection circuitry and as a controller for an IMN. In other words, controller 308 can use calculated phase differences of the input signals to generate control signals to tune an IMN or elements thereof.

FIG. 6 depicts an example of a phase detection device 600 that can be included in a power transfer system to detect and monitor phase angles between voltage or current input signals. The phase detection device 600 is a dual input (e.g., two channel) phase difference detector. That is, the phase detection device 600 measures a phase difference between two input signals, one input signal provided on each of two input channels. The phase detection device 600 includes a signal generator 602, signal mixers 604 a, 604 b, and a controller 608. Filters 606 may be included between respective outputs of the mixers 604 a, 604 b and inputs terminals of the controller 608. The controller 608 can be, for example, a microcontroller, a computer processor, an FPGA, or an ASIC. The controller 608 can include or be coupled to a computer readable storage device such as, for example, random access memory, flash memory, or other appropriate memory devices. In some implementations, the phase detection device 600 can also include comparators 610 a and 610 b.

During operation of the phase detection device 600, the signal generator 602 generates a reference signal. The reference signal has a frequency equal to that of an input signals (e.g., 6.78 MHz). In some examples, the reference signal can be a stepped sine wave, and can be represented as A sin(ωt+θ), where the phase (θ) of the reference signal is controllable in discrete steps having a step size (Δθ). Thus, an aggregate phase shift of the reference signal can be represented by n(Δθ), where n represents a number of steps by which the phase of the reference signal is shifted. For example, the reference signal can be a 192-step sine wave with a step size of 1.875° (360°/192 steps). Therefore, a phase shift of ten steps (e.g., n=10) would be the equivalent of 18.75°.

The input signals may be signals representing measured current or voltage signals at locations within a power transfer system. The input signals may be, for example, voltage signals representing measured current or voltage at locations within a power transfer system. For example, input signal 1 (e.g., on channel 1) can be represented as A₁ sin(ωt+φ₁), and input signal 2 (e.g., on channel 2) can be represented as A₂ sin(ωt+φ₂). For example, the input signals can be the outputs of Rogowski coils positioned within the circuitry of a power transfer system to measure current at locations within the system.

The signal mixers 604 a, 604 b are coupled with the signal generator 602 so as to receive the reference signal as one input and one of the input signals as a, respective, second input. Mixer 604 a mixes (e.g., performs time-domain multiplication of) the reference signal with input signal 1, and outputs mixed signal 1. Mixer 604 b mixes the reference signal with input signal 2, and outputs mixed signal 2.

Filters 606 are low-pass filters designed to filter higher-order second harmonics from the mixed signals generated by the mixers, leaving only the DC component. The filters remove the second order harmonics generated from the signal mixing process and any higher order harmonics that were present in either reference signal or the input signals. After filtering, mixed signal 1 can be represented by:

${{{Mixed}\mspace{20mu}{{Sig}.\mspace{14mu} 1}} = {\frac{{AA}_{1}}{2}*{\cos\left( {\varphi_{1} - \theta} \right)}}},$ and mixed signal 2 can be represented by:

${{Mixed}\mspace{20mu}{{Sig}.\mspace{14mu} 2}} = {\frac{{AA}_{2}}{2}*{{\sin\left( {\varphi_{2} - \theta} \right)}.}}$

The controller 608 receives the mixed signals 1 and 2 and shifts the phase of the reference signal while monitoring the mixed signals to determine the phase difference between the input signals. More specifically, the controller shifts the phase of the reference signal while monitoring mixed signal 1 and mixed signal 2 for a zero crossing. For example, the controller can incrementally shift the phase of the references signal while monitoring the values of the mixed signals 1 and 2. When the controller 608 detects that the value of one of the mixed signals (e.g., mixed signal 1) equals or has passed through zero while shifting the phase of the reference signal, the controller 608 stores data representing the phase of the reference signal at which the zero crossing of mixed signal 1 occurs. The controller 608 may store data representing the phase increment of the reference signal either just before or just after the zero crossing, so long as the same convention is used consistently. In some implementations, more precision may be achieved by interpolating a more precise time of the zero crossing between the phase increments of the reference signal just before and just after the zero crossing.

The controller 608 continues to shift the phase of the reference signal (0) while monitoring the mixed signals. When the controller 608 detects that the value of the other mixed signal (e.g., mixed signal 2) equals or has passed through zero while shifting the phase of the reference signal, the controller 608 stores data representing the phase of the reference signal at which the zero crossing of mixed signal 2 occurs. The phase difference between the two input signals can then be determined by finding the difference between the phase of the reference signal at the zero crossing for each of the mixed signals.

For example, as the controller 608 shifts the phase of the reference signal (θ) the value of mixed signals 1 and 2 may change as shown in plot 620, where curves 622 and 624 represent the values of mixed signals 1 and 2 as a function of the phase of the reference signal (θ). When the controller 608 detects zero crossing 626 of mixed signal 1, the controller 608 stores the data representing the phase of the reference signal at which the zero crossing 626 occurs. The controller 608 continues to shift the phase of the reference signal (θ) while monitoring the mixed signals. When the controller 608 detects zero crossing 268 of mixed signal 2, the controller 608 stores the data representing the phase of the reference signal at which the zero crossing 268 occurs. The controller 608 determines the phase difference between the two input signals by subtracting the phase of the reference signal at the zero crossing 628 of mixed signal 2 from the phase of the reference signal at the zero crossing 626 of mixed signal 1.

In some implementations, the exact phases of the reference signal at the zero crossings is not required. The controller 608 only needs data representing the amount by which the phase of the reference signal is shifted between the zero crossings of the mixed signals. As noted above, in some implementations, the reference signal can be a stepped-sinusoidal signal, for example, a 192-step sine wave with a step size of 1.875°). In such implementations, the actual phase of the reference signal is not required to determine the phase difference between the two input signals.

For example, the controller 608 can use an arbitrary starting state for the phase of the reference signal such as, a binary count beginning at zero (e.g., 00000000_(b)) to represent the number of steps by which the reference signal is shifted. The controller 608 causes the signal generator 602 to incrementally shift the reference signal and counts each step by incrementing the binary count. The controller 608 can detect zero crossing 626 of mixed signal 1 at step eight (e.g., 00001000_(b)). Then, the controller 608 can detect zero crossing 628 of mixed signal 2 at step 24 (e.g., 00011000_(b)). The controller 608 can determine the phase angle between the two input signals as the difference in step count at each zero crossing times the step size of the reference signal. For example, Δφ_(2,1)=(24−8)*1.875°=30°. Furthermore, in this example, the data representing the phase of the reference signal at each zero crossing is the binary count value of the phase shift when the zero crossing is detected.

In some implementations, the controller 608 can continuously shift the phase of the reference signal at a constant rate and store the times at which the zero crossings occur. In such implementations, the data representing the phase of the reference signal at each zero crossing are the stored times. Then, the phase angle between the two input signals is the time difference between the two zero crossings multiplied by the phase shift rate of the reference signal. In some implementations, controller 608 can continuously shift the phase of the reference signal at a constant rate, start a timer when the first zero crossing is detected and record the value of the timer when the second zero crossing is detected. In such implementations, the phase angle between the two input signals is the timer value at the second zero crossing multiplied by the phase shift rate of the reference signal.

In some implementations, each input channel can include a comparator 610 a, 610 b coupled to the output of the respective signal mixer 604 a or 604 b, and to an input terminal of the controller 608. The comparators 610 a, 610 b can be used to detect the respective mixed signal zero crossings. For example, the comparators 610 a, 610 b can be connected to compare a respective mixed signal to zero (e.g., ground). The output of each comparator 610 a, 610 b is coupled to the controller 608, and the controller detects the mixed signal zero crossings (e.g., 626, 628) by detecting a rising edge on the output of a respective comparator 610 a, 610 b.

For example, curve 630 in the plot 620 shows an example output from comparator 610 a in response to mixed signal 1 (e.g. curve 622). In this case, the comparator 610 a shifts from positive to a negative value at the zero crossing 626 forming a rising edge. The controller 608 can detect the rising edge of the comparator 610 a output and, in response, store data representing the phase of the reference signal when the rising edge is detected. Although plot 620 illustrates a rising edge, some implementations can detect zero crossing using a falling edge of a comparator output signal or both falling and rising edges.

In some implementations, the controller 608 can send data indicating the calculated phase difference between two of the input signals to control circuitry for an IMN (e.g., IMN control circuitry 208 of FIGS. 2A and 2B). In some implementations, controller 608 can serve as both the controller for the phase detection circuitry and as a controller for an IMN. In other words, controller 608 can use the calculated phase of the input signal to generate control signals to tune an IMN or elements thereof.

FIG. 7 depicts another example of a phase detection device 700 that can be included in a power transfer system to detect and monitor a phase angle of a voltage or current input signal. The phase detection device 700 is a single input (e.g., single channel) phase detector. That is, the phase detection device 700 measures a phase of an input signal provided on one input channel. The phase detection device 700 includes sensing circuit 702, a sine wave generator/signal mixer 704 a, a cosine wave generator/signal mixer 704 b, filters 706, and a controller 708. The sensing circuit 702 is a circuit designed to measure a current or voltage signal. For example, the sensing circuit 702 can be a Rogowski coil.

The sine wave generator/signal mixer 704 a and the cosine wave generator/signal mixer 704 b are finite impulse response (FIR) filters that are configured to generate a sinusoidal signal from a non-sinusoidal reference signal (e.g., a square wave) 710 a, 710 b, and to mix the generated sinusoidal signal with an input signal. The sine wave generator/signal mixer 704 a and the cosine wave generator/signal mixer 704 b can each generally be referred to as a sinusoidal wave generators/signal mixer (SWG/SM). As described in more detail below, the sine wave generator/signal mixer 704 a and the cosine wave generator/signal mixer 704 b can have the same structure, with the difference between the two being the phase of the reference signals 710 a, 710 b received by the respective SWG/SMs 704 a, 704 b.

The controller 708 can be, for example, a microcontroller, a computer processor, an FPGA, or an ASIC. The controller 708 can include or be coupled to a computer readable storage device such as, for example, random access memory, flash memory, or other appropriate memory devices.

During operation of the phase detection device 700, the sensing circuit 702 measures a current or voltage signal. For example, the sensing circuit 702 can measure a current at one or more locations within a power transfer system (e.g., a 6.78 MHz alternating current (AC) signal). The output signal of the sensing circuit 702 can be a voltage signals representing a measured current or voltage. For example, output signal of the sensing circuit 702 can be represented as A_(IN) sin(ωt+φ). In addition, the output signal of the sensing circuit 702 is the input signal for the SWG/SMs 704 a, 704 b. For example, the input signal for the SWG/SMs 704 a, 704 b can be the outputs of Rogowski coils positioned within the circuitry of a power transfer system to measure current at locations within the system. In some examples, the sensing circuit 702 can amplify or filter a measured signal. In some examples, the sensing circuit 702 can buffer the input signal of the sensing circuit 702 from the output signal of the sensing circuit 702.

The sine SWG/SM 704 a receives the SIN reference signal 710 a as a reference signal and the output signal of the sensing circuit 702 as an input signal. In like manner, the cosine SWG/SM 704 b receives the COS reference signal 710 b as a reference signal and the output signal of the sensing circuit 702 as an input signal. The SIN and COS reference signals 710 a, 710 b can be, for example, square waves each having a fundamental frequency equal to the frequency of the input signal (e.g., 6.78 MHz). In some examples, the SIN and COS reference signals 710 a, 710 b are identical except for being 90° out of phase with each other.

The sine SWG/SM 704 a filters the SIN reference signal 710 a to generate a sinusoidal signal. For example, the sine SWG/SM 704 a is configured to cancel higher-order harmonics of the SIN reference signal 710 a so as to generate a sinusoidal signal (e.g., A sin(ωt)) at the fundamental frequency of the SIN reference signal 710 a. For example, the sine SWG/SM 704 a can be configured to cancel higher-order harmonics of a square wave (e.g., the third, fifth, seventh, and ninth harmonics). For example, the FIR filter zeros (e.g., filter coefficients) can be selected to cancel harmonic frequencies of the SIN reference signal 710 a. The sine SWG/SM 704 a also mixes (e.g., performs time-domain multiplication of) the sinusoidal signal with the input signal, and outputs mixed signal 1.

The cosine SWG/SM 704 b filters the COS reference signal 710 b to generate a sinusoidal signal. For example, the cosine SWG/SM 704 b is configured to cancel higher-order harmonics of the COS reference signal 710 b so as to generate a sinusoidal signal (e.g., A cos(ωt)) at the fundamental frequency of the COS reference signal 710 b. For example, the cosine SWG/SM 704 b can be configured to cancel higher-order harmonics of a square wave (e.g., the third, fifth, seventh, and ninth harmonics). For example, the FIR filter zeros (e.g., filter coefficients) can be selected to cancel harmonic frequencies of the COS reference signal 710 b. The cosine SWG/SM 704 b also mixes (e.g., performs time-domain multiplication of) the sinusoidal signal with the input signal, and outputs mixed signal 2.

Filters 706 are low-pass filters designed to filter higher-order harmonics (e.g., a heterodyned second-order harmonic generated by the mixing process) from the mixed signals generated by the SWG/SMs 704 a, 704 b, leaving only the DC component. In addition, the filters 706 can remove the second order harmonics generated from the signal mixing process and any higher order harmonics that were present in either reference signal or the input signals. Generally, after filtering, mixed signal X can be represented by:

${{{Mixed}\mspace{20mu}{{Sig}.\mspace{14mu} X}} = {\frac{{AA}_{IN}}{2}*{\cos(\varphi)}}},$ and mixed signal 2 can be represented by:

${{Mixed}\mspace{20mu}{{Sig}.\mspace{14mu} Y}} = {\frac{{AA}_{IN}}{2}*{{\sin(\varphi)}.}}$

In some examples, the gain of the SWG/SMs 704 a, 704 b, the gain of the filters 706, the amplitude of the reference signals 710 a, 710 b, or a combination of such, can be configured such that the ½ magnitude reduction due to mixing and the amplitude (A) of the sinusoidal signals cancel. Thus, after filtering, mixed signal X can be represented by: Mixed Sig. X=A _(IN)*cos(φ), and mixed signal Y can be represented by: Mixed Sig. Y=A _(IN)*sin(φ).

The controller 708 receives the mixed signals X and Y, and can determine one or more characteristics of the input signal based on the mixed signals X and Y. The controller 708 can determine the phase of the input signal (φ), the amplitude of the input signal (A_(IN)), or both. The controller 708 outputs the determined characteristic(s) of the input signal to, for example, IMN control circuitry. For example, the phase of the input signal (φ) can be calculated by:

$\varphi = {{\tan^{- 1}\left( \frac{{Mixed}\mspace{14mu}{{Sig}.\mspace{14mu} Y}}{{Mixed}\mspace{14mu}{{Sig}.\mspace{14mu} X}} \right)} = {{\tan^{- 1}\left( \frac{A_{IN}*{\sin(\varphi)}}{A_{IN}*{\cos(\varphi)}} \right)}.}}$ In addition, the amplitude of the input signal (A_(IN)) can be calculated by: A _(IN)=√{square root over ((Mixed Sig. X)²+(Mixed Sig. Y)²)}.

In some implementations, the SIN and COS reference signals 710 a, 710 b can be time-sampled signals. In some examples, the reference signals 710 a, 710 b are sampled at twelve times the fundamental frequency of the reference signals 710 a, 710 b. In some examples, the COS reference signal 710 b can be generated from the SIN reference signal 710 a by shifting the SIN reference signal 710 a by a predetermined number of samples. For example, if the reference signals 710 a, 710 b are sampled at twelve times the fundamental frequency, a shift of three samples between the reference signals 710 a, 710 b would be equivalent to a 90° phase shift (e.g., within reasonable error tolerances).

In some implementations, the controller 708 can send data indicating the calculated phase of the input signal to control circuitry for an IMN (e.g., IMN control circuitry 208 of FIGS. 2A and 2B). In some implementations, controller 708 can serve as both the controller for the phase detection circuitry and as a controller for an IMN. In other words, controller 708 can use the calculated phase of the input signal to generate control signals to tune an IMN or elements thereof.

In some examples, the phase detection device 700 can be implemented as a multi-input phase detection device. More specifically, a multi-input (e.g., multi-channel) phase detection device 700 can measure characteristics of multiple input signals provided on multiple different input channels, or phase differences between various input signals provided on the multiple input channels.

For example, a multi-input phase detection device 700, the circuitry shown in FIG. 7 (with the exception of the controller 708) can be replicated for each input channel. Each input channel can be coupled to the controller 708 and can generate a set of mixed signals (e.g., Mixed Sig. X_(n) and Mixed Sig. Y_(n)) corresponding to a respective one of the multiple input signals (e.g., Input Signal n). The controller 708 can determine a difference in phase between input signals. For example, the controller 708 can determine the phase of both input signal 1 (φ₁) and input signal 2 (φ₂) by performing the process described above in reference to FIG. 7 for each of the input signals. The controller 708 can then calculate the phase difference between the input signals (φ_(diff)) by finding the difference between the phases of the respective input signals, as represented by the equation φ_(diff)=φ₂−φ₁, for example.

In such implementations, the controller 708 can send data indicating the calculated phase difference between two of the multiple input signals to control circuitry for an IMN (e.g., IMN control circuitry 208 of FIGS. 2A and 2B). In some implementations, controller 708 can serve as both the controller for the phase detection circuitry and as a controller for an IMN. In other words, controller 708 can use calculated phase differences of the input signals to generate control signals to tune an IMN or elements thereof.

FIGS. 8 and 9 depict examples of SWG/SMs 704 in accordance with implementations of the present disclosure. Referring first to FIG. 8, the SWG/SM 704 is a FIR filter that is configured to generate a sinusoidal signal from a non-sinusoidal reference signal REF (e.g., square wave reference signal 710 a, 710 b), and to mix the generated sinusoidal signal with an input signal. The SWG/SM 704 includes a plurality of filter taps 802. Each filter tap 802 includes a delay circuit 804 (e.g. a gated latch circuit, a flip-flop, an edge triggered D flip-flop), a switch or switches 806 (e.g., transistor(s)), and a resistor 808 (e.g., resistors R₀ through R₄). The filter taps 802 are connected to each other sequentially such that the reference signal REF is sequentially delayed by corresponding delay circuits 804 of each filter tap 802. The input signal to the SWG/SM 704 is passed to each filter tap 802. In some examples the input signal is passed using high (Input +) and low (Input −) input signal lines. In addition, each filter tap 802 receives a clock signal CLK from a clock signal line. The clock signal line is electrically connected to a clock input terminal of the delay circuit 804 in each filter tap 802.

In each filter tap 802, an output terminal of the delay circuit 804 is electrically connected to a control terminal of the switch 806. The input signal is passed through the switch 806 and the resistor 808. The output signal from the delay circuit 804 (i.e., the delayed reference signal REF) controls the switch 806. In implementations having high (Input +) and low (Input −) input signal lines, each filter tap 802 can include two switches 806; one connected to each input signal line (Input + and Input −). In such implementations, the switches 806 can be alternately opened and closed based on the delayed reference signal REF. For example, as indicated by the 0 next to the switch 806 connected to the Input − line and the 1 next to the switch 806 connected to the Input + line, the one switch can be closed when the delayed reference signal REF is low and the other switch can be closed when the delayed reference signal REF is high. Thus, the two switches 806 can alternately pass the high or low input signal based on the value of the delayed reference signal REF.

The values of the resistors 808 define the series (e.g., filter coefficients) of the FIR filter. The value of each resistor (R₀ through R₄) 806 is selected to cancel harmonic frequencies of the reference signal REF in order to generate the sinusoidal signal that is mixed with the input signal. For example, a square wave is composed of a series of odd harmonics of a sinusoidal signal at the fundamental frequency of the square wave. In order to generate a sinusoidal signal at the fundamental frequency of the square wave, the resistor values can be selected to cancel the odd harmonic signals greater than the fundamental frequency. The number of harmonic signals canceled by the FIR filter zeros depends on the number of filter taps 802 included in the SWG/SM 704. For example, as shown in FIG. 8, the SWG/SM 704 includes five filter taps 802, and the resistors 808 can be selected to cancel the third, fifth, seventh, and ninth harmonics of the reference signal. Thus, the first harmonic (e.g., a sinusoid at the fundamental frequency) and the eleventh and greater harmonics will be left. In some cases, power of the higher order harmonics (e.g., the eleventh and above) may be of sufficiently low power that additional filter taps are not justified for a given application. Thus, depending on the precision required by a given implementation, the SWG/SM 704 can be built with more or fewer filter taps 802.

In addition, an output terminal of each filter tap 802 is electrically connected to an inverting input terminal of an operational amplifier 810. A feedback resistor (R_(f)) is provided between the output terminal of the operational amplifier 810 and the inverting input terminal of the operational amplifier 810. The value of the feedback resistor (R_(f)) defines the gain of the FIR filter. The non-inverting input terminal of the operational amplifier 810 is electrically connected to ground. In some implementations, a feedback capacitor (Cf) is also provided between the output terminal of the operational amplifier 810 and the inverting input terminal of the operational amplifier 810. The value of the feedback capacitor (Cf) can provide additional filtering capabilities (e.g., as a low pass filter).

FIG. 9 shows another implementation of the SWG/SM 704. The resistor 808 (shown in FIG. 8) in each filter tap 802 has been replaced by two equivalent resistors 902 (shown in FIG. 9) on the opposite side of the switches 806. The two resistors 902 in a filter tap 802 each have the same resistance value, but the resistance values (R₀ through R₄) differ between resistors in different filter taps 802. As with the SWG/SM 704 of FIG. 8, the resistances (R₀ through R₄) are selected so as produce filter zeros that cancel harmonic frequencies of the reference signal REF.

In some implementations, SWG/SM 704 can be operated as a sinusoidal signal generator. For example, a direct current (DC) signal can be provided as the input signal to the SWG/SM 704. When a DC signal is provided as an input signal to the SWG/SM 704, the mixing function is effectively bypassed and the SWG/SM 704 operates as a signal generator by filtering the higher order harmonics of the reference signal REF and outputs a sinusoidal signal at the fundamental frequency of the reference signal REF. In such implementations, the sinusoidal output signal of the SWG/SM 704 can be used as a local oscillator (LO) for a circuit. Furthermore, the sinusoidal output signal of the SWG/SM 704 can be accurately phase shifted by shifting a time-sampled reference signal REF by a particular number of samples. Moreover, phase shift precision (e.g., phase shift increment size) can be increased or decreased by increasing or decreasing the sampling rate of the reference signal REF.

For illustrative purposes, the foregoing description focuses on the use of devices, components, and methods in desktop wireless power transfer applications, e.g., power transfer to electronic devices such as laptops, smartphones, and other mobile electronic devices that are commonly placed on desktops, tabletops, and other user work surfaces.

More generally, however, it should be understood that devices that can receive power using the devices, components, and methods disclosed herein can include a wide range of electrical devices, and are not limited to those devices described for illustrative purposes herein. In general, any portable electronic device, such as a cell phone, keyboard, mouse, radio, camera, mobile handset, headset, watch, headphones, dongles, multifunction cards, food and drink accessories, and the like, and any workspace electronic devices such as printers, clocks, lamps, headphones, external drives, projectors, digital photo frames, additional displays, and the like, can receive power wirelessly using the devices, components, and methods disclosed herein. Furthermore, any electrical device, such as electric or hybrid vehicles, motorized wheel chairs, scooters, power tools, and the like, can receive power wirelessly using the devices, components, and methods disclosed herein. In addition the devices, components, and methods disclosed herein may be used for applications outside of wireless power transfer, for example, power factor correction devices, handheld signal analyzers, and the like.

In this disclosure, certain circuit or system components such as capacitors, inductors, resistors, diodes, and switches, are referred to as circuit “components” or “elements.” The disclosure also refers to series and parallel combinations of these components or elements as elements, networks, topologies, circuits, and the like. Further, combinations of capacitors, diodes, transistors, and/or switches are described. More generally, however, where a single component or a specific network of components is described herein, it should be understood that alternative embodiments may include networks for elements, alternative networks, and/or the like.

As used herein, the term “coupled” when referring to circuit or system components is used to describe an appropriate, wired or wireless, direct or indirect, connection between one or more components through which information or signals can be passed from one component to another.

As used herein, the term “direct connection” or “directly connected,” refers to a direct connection between two elements where the elements are connected with no intervening active elements between them. The term “electrically connected” or “electrical connection,” refers to an electrical connection between two elements where the elements are connected such that the elements have a common potential. In addition, a connection between a first component and a terminal of a second component means that there is a path between the first component and the terminal that does not pass through the second component.

The embodiments described herein merely serve to illustrate, but not limit, the features of the disclosure. Other embodiments are also within the scope of the disclosure. 

What is claimed is:
 1. An electronic device comprising: a first finite impulse response (FIR) filter that receives an input signal and a first reference signal, wherein the first FIR filter filters the first reference signal to generate a first sinusoidal signal and mixes the first sinusoidal signal and the input signal to generate a first mixed signal; a second FIR filter that receives the input signal and a second reference signal, wherein the second FIR filter filters the second reference signal to generate a second sinusoidal signal and mixes the second sinusoidal signal and the input signal to generate a second mixed signal; and a controller coupled with the first FIR filter and the second FIR filter, the controller configured to determine a characteristic of the input signal based on the first mixed signal and the second mixed signal.
 2. The electronic device of claim 1, wherein the characteristic of the input signal is a phase or an amplitude of the input signal.
 3. The electronic device of claim 1, wherein the characteristic of the input signal includes both a phase and an amplitude of the input signal.
 4. The electronic device of claim 1, wherein the first and second reference signals are square waves.
 5. The electronic device of claim 4, wherein the square waves are time-sampled square waves.
 6. The electronic device of claim 5, wherein a sampling rate of the square waves is twelve times a fundamental frequency of the square wave.
 7. The electronic device of claim 5, wherein the first reference signal is phase shifted with respect to the second reference signal by a predetermined number of samples.
 8. The electronic device of claim 4, wherein each of the first and the second FIR filter comprises a plurality of filter zeros, and the filter zeros are selected to cancel harmonic frequencies of the first or second reference signal.
 9. The electronic device of claim 8, wherein zeros of each of the first and the second FIR filter are selected to cancel third, fifth, seventh, and ninth harmonics of the first or second reference signal.
 10. The electronic device of claim 1, wherein each of the first and the second FIR filter comprises a plurality of filter taps, each filter tap comprising: a delay circuit; a switch; and a resistor electrically connected to a terminal of the switch, wherein one of the first or the second reference signal is applied to an input of the delay circuit, wherein the switch is controlled by an output of the delay circuit, and wherein the input signal passes through the switch.
 11. The electronic device of claim 10, wherein values for the resistors of the plurality of filter taps for each of the first and second FIR filters represent filter zeros that are selected to cancel harmonic frequencies of the first or second reference signal.
 12. The electronic device of claim 10, wherein each of the first and the second FIR filters comprises five filter taps.
 13. The electronic device of claim 1, wherein determining the phase of the input signal comprises determining an arctangent of a quotient of the second mixed signal divided by the first mixed signal.
 14. The electronic device of claim 1, further comprising: a first filter coupled with the first FIR filter and the controller, wherein the first filter filters the first mixed signal such that the first mixed signal is a direct current (DC) signal; and a second filter coupled with the second FIR filter and the controller, wherein the second filter filters the second mixed signal such that the second mixed signal is a DC signal.
 15. The electronic device of claim 1, wherein the controller is one of: a microcontroller, a computer processor, a field programmable logic array (FPGA), or an application specific integrated circuit (ASIC).
 16. The electronic device of claim 1, wherein the controller is further configured to provide data indicating the phase of the input signal to an impedance matching network.
 17. The electronic device of claim 1, further comprising: an impedance matching network coupled with the controller, wherein the impedance matching network is configured to receive data indicating the phase of the input signal from the controller and adjust an impedance value of a resonator in accordance with the received data.
 18. The electronic device of claim 1, further comprising: a third FIR filter that receives a second input signal and the first reference signal, wherein the third FIR filter filters the first reference signal to generate a first sinusoidal signal and mixes the first sinusoidal signal and the second input signal to generate a third mixed signal; a fourth FIR filter that receives the second input signal and the second reference signal, wherein the fourth FIR filter filters the second reference signal to generate a second sinusoidal signal and mixes the second sinusoidal signal and the second input signal to generate a fourth mixed signal; wherein the controller is coupled with the third FIR filter and the fourth FIR filter and configured to: determine a phase of the second input signal based on the third mixed signal and the fourth mixed signal, and determine a phase difference between the input signal and the second input signal.
 19. A finite impulse response (FIR) filter comprising: a plurality of filter taps, each filter tap comprising: a delay circuit comprising an input terminal to receive a square wave and an output terminal to output a delayed version of the square wave; a switch comprising an input terminal, an output terminal, and a control terminal, the control terminal being electrically connected to the output terminal of the delay circuit to receive the delayed version of the square wave at the control terminal, and the input terminal of the switch being electrically connected to a common input signal line for the plurality of filter taps; and a resistor electrically connected to one of the input terminal or the output terminal of the switch; an operational amplifier, wherein an output terminal of each of the plurality of filter taps is electrically connected to an input terminal of the operational amplifier; and a feedback path electrically connecting an output terminal of the operational amplifier to the input terminal of the operational amplifier.
 20. The FIR filter of claim 19, wherein values for the resistors of the plurality of filter taps represent filter zeros that are selected to cancel harmonic frequencies of the square wave.
 21. The FIR filter of claim 20, wherein the filter zeros are selected to cancel the third, fifth, seventh, ninth harmonics of the square wave.
 22. The FIR filter of claim 19, wherein an output signal of the operation amplifier is a mixed signal comprising an input signal mixed with a sinusoidal signal at a fundamental frequency of the square wave.
 23. The FIR filter of claim 22, wherein the common input signal is a direct current (DC) signal and the output signal of the operational amplifier is the sinusoidal signal at a fundamental frequency of the square wave.
 24. The FIR filter of claim 19, wherein each delay circuit of the plurality of filter taps comprises a flip-flop. 